package com.springboot.dao;

import com.springboot.domain.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BookDao {

    @Select(" select * from springboot where id=#{id}")
    Book getById(Integer id);

}
